package com.sgb.kjwl.model.entity.transport;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class MapSourcesEntity implements Serializable {

    private String carLenName;
    private String carLenNo;
    private String carModelNo;
    private String cityName;
    private String cityNo;
    private String contrcts;
    private String contrctsImAccount;
    private String contrctsNumber;
    private String destCityName;
    private String destCityNo;
    private String destDistrictName;
    private String destDistrictNo;
    private String destProvinceName;
    private String destProvinceNo;
    private String detailAddress;
    private String distance;
    private String districtName;
    private String districtNo;
    private String freight;
    private String allFreight;
    private String goodsModeNo;
    private String goodsOfferNo;
    private String handleTypeName;
    private String imAccount;
    private String imToken;
    private int isManage;
    private int isReception;
    private String latitude;
    private String longitude;
    private String messagePrice;
    private String no;
    private String orderNo;
    private int pattern;
    private String provinceName;
    private String provinceNo;
    private long shipmentEndTime;
    private long shipmentTime;
    private int state;
    private int status;
    private long updateTime;
    private String userNo;
    private String weight;
    private String volume;
    private List<String> location;
    private String heightHurdle;
    private Integer isDump;
    /**1：企业发布 / 2：团队发布*/
    private Integer terminal;
    private Integer transportType;
    private String secondGoodsTypeName;

    @SerializedName(value = "goodsModeName",alternate = {"goodsTypeName"})
    private String goodsTypeName;
    @SerializedName(value = "carTypeName",alternate = {"carModelName"})
    private String carTypeName;
    @SerializedName(value = "logo",alternate = {"companyLogo"})
    private String companyLogo;
    private String connection;//联系人
    private String connectionPhone;//联系电话

    public String getConnection() {
        return connection;
    }

    public void setConnection(String connection) {
        this.connection = connection;
    }

    public String getConnectionPhone() {
        return connectionPhone;
    }

    public void setConnectionPhone(String connectionPhone) {
        this.connectionPhone = connectionPhone;
    }

    /**
     * 运费选项 0一口价 1电议
     */
    private int freightType;

    /**
     * 装车开始时间点  2.0.6
     * 25——表示全天
     */
    private int startPointTime;

    /**
     * 装车结束时间点  2.0.6
     * 25——表示全天
     */
    private int endPointTime;
    private String freightUnit;//运费方式 1：元/趟，2：元/吨，3：元/方
    //2.0.8新增字段 begin
    private String specification;//货物规格
    private Boolean includeTax;//是否含税 0 不含 1 含税 null 未填写
    private Double damagePromise;//货损约定(吨)
    private Double damageCompensation;//货损赔偿(元/吨)
    private String otherSettlementRequire;//其他结算要求
    private String offerType;//报价资格 1 企业 2 团队 3 司机 ，多选英文逗号隔开
    private Double registeredMoney;//注册资本(万元)
    private Integer motorcadeSize;//车队规模(辆)
    private String transportationQualification;//运输资质
    private String otherOfferRequire;//其他要求
    private String projectName;//项目名称
    private CargoPublishEntity.ProjectAddressEntity projectAddress;//项目地址
    private String projectDesc;//项目描述
    private String transportationQuire;//运输要求
    private String partyDuty;//甲方责任约定
    private String secondPartyDuty;//乙方责任约定
    private String renegePromise;//违约约定
    private String endContractPromise;//合同终止约定
    private List<CargoPublishEntity.ContactInfoEntity> contactInfo;//联系信息 一个或多个联系人+联系电话
    //2.0.8新增字段 end
    private String companyName;//企业名称
    private String companyNo;//企业No

    public String getCompanyLogo() {
        return companyLogo;
    }

    public void setCompanyLogo(String companyLogo) {
        this.companyLogo = companyLogo;
    }

    public String getFreightUnitWords() {
        if (TextUtils.isEmpty(freightUnit)){
            return "/吨";
        }
        switch (freightUnit) {
            case "1":
                return "/趟";
            case "2":
                return "/吨";
            case "3":
                return "/方";
        }
        return "/吨";
    }

    public int getFreightType() {
        return freightType;
    }

    public void setFreightType(int freightType) {
        this.freightType = freightType;
    }

    public int getStartPointTime() {
        return startPointTime;
    }

    public void setStartPointTime(int startPointTime) {
        this.startPointTime = startPointTime;
    }

    public int getEndPointTime() {
        return endPointTime;
    }

    public void setEndPointTime(int endPointTime) {
        this.endPointTime = endPointTime;
    }

    public String getFreightUnit() {
        return freightUnit;
    }

    public void setFreightUnit(String freightUnit) {
        this.freightUnit = freightUnit;
    }

    public Integer getTransportType() {
        return transportType;
    }

    public void setTransportType(Integer transportType) {
        this.transportType = transportType;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public Integer getIsDump() {
        return isDump;
    }

    public void setIsDump(Integer isDump) {
        this.isDump = isDump;
    }

    public String getHeightHurdle() {
        return heightHurdle;
    }

    public void setHeightHurdle(String heightHurdle) {
        this.heightHurdle = heightHurdle;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getCarLenNo() {
        return carLenNo;
    }

    public void setCarLenNo(String carLenNo) {
        this.carLenNo = carLenNo;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getCarModelNo() {
        return carModelNo;
    }

    public void setCarModelNo(String carModelNo) {
        this.carModelNo = carModelNo;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getContrcts() {
        return contrcts;
    }

    public void setContrcts(String contrcts) {
        this.contrcts = contrcts;
    }

    public String getContrctsImAccount() {
        return contrctsImAccount;
    }

    public void setContrctsImAccount(String contrctsImAccount) {
        this.contrctsImAccount = contrctsImAccount;
    }

    public String getContrctsNumber() {
        return contrctsNumber;
    }

    public void setContrctsNumber(String contrctsNumber) {
        this.contrctsNumber = contrctsNumber;
    }

    public String getDestCityName() {
        return destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDestCityNo() {
        return destCityNo;
    }

    public void setDestCityNo(String destCityNo) {
        this.destCityNo = destCityNo;
    }

    public String getDestDistrictName() {
        return destDistrictName;
    }

    public void setDestDistrictName(String destDistrictName) {
        this.destDistrictName = destDistrictName;
    }

    public String getDestDistrictNo() {
        return destDistrictNo;
    }

    public void setDestDistrictNo(String destDistrictNo) {
        this.destDistrictNo = destDistrictNo;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public String getDestProvinceNo() {
        return destProvinceNo;
    }

    public void setDestProvinceNo(String destProvinceNo) {
        this.destProvinceNo = destProvinceNo;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getAllFreight() {
        return allFreight;
    }

    public void setAllFreight(String allFreight) {
        this.allFreight = allFreight;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getGoodsModeNo() {
        return goodsModeNo;
    }

    public void setGoodsModeNo(String goodsModeNo) {
        this.goodsModeNo = goodsModeNo;
    }

    public String getGoodsOfferNo() {
        return goodsOfferNo;
    }

    public void setGoodsOfferNo(String goodsOfferNo) {
        this.goodsOfferNo = goodsOfferNo;
    }

    public String getHandleTypeName() {
        return handleTypeName;
    }

    public void setHandleTypeName(String handleTypeName) {
        this.handleTypeName = handleTypeName;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    public String getImToken() {
        return imToken;
    }

    public void setImToken(String imToken) {
        this.imToken = imToken;
    }

    public int getIsManage() {
        return isManage;
    }

    public void setIsManage(int isManage) {
        this.isManage = isManage;
    }

    public int getIsReception() {
        return isReception;
    }

    public void setIsReception(int isReception) {
        this.isReception = isReception;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getMessagePrice() {
        return messagePrice;
    }

    public void setMessagePrice(String messagePrice) {
        this.messagePrice = messagePrice;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getPattern() {
        return pattern;
    }

    public void setPattern(int pattern) {
        this.pattern = pattern;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public long getShipmentEndTime() {
        return shipmentEndTime;
    }

    public void setShipmentEndTime(long shipmentEndTime) {
        this.shipmentEndTime = shipmentEndTime;
    }

    public long getShipmentTime() {
        return shipmentTime;
    }

    public void setShipmentTime(long shipmentTime) {
        this.shipmentTime = shipmentTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public List<String> getLocation() {
        return location;
    }

    public void setLocation(List<String> location) {
        this.location = location;
    }

    public Integer getTerminal() {
        return terminal;
    }

    public void setTerminal(Integer terminal) {
        this.terminal = terminal;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public Boolean getIncludeTax() {
        return includeTax;
    }

    public void setIncludeTax(Boolean includeTax) {
        this.includeTax = includeTax;
    }

    public Double getDamagePromise() {
        return damagePromise;
    }

    public void setDamagePromise(Double damagePromise) {
        this.damagePromise = damagePromise;
    }

    public Double getDamageCompensation() {
        return damageCompensation;
    }

    public void setDamageCompensation(Double damageCompensation) {
        this.damageCompensation = damageCompensation;
    }

    public String getOtherSettlementRequire() {
        return otherSettlementRequire;
    }

    public void setOtherSettlementRequire(String otherSettlementRequire) {
        this.otherSettlementRequire = otherSettlementRequire;
    }

    public String getOfferType() {
        return offerType;
    }

    public void setOfferType(String offerType) {
        this.offerType = offerType;
    }

    public Double getRegisteredMoney() {
        return registeredMoney;
    }

    public void setRegisteredMoney(Double registeredMoney) {
        this.registeredMoney = registeredMoney;
    }

    public Integer getMotorcadeSize() {
        return motorcadeSize;
    }

    public void setMotorcadeSize(Integer motorcadeSize) {
        this.motorcadeSize = motorcadeSize;
    }

    public String getTransportationQualification() {
        return transportationQualification;
    }

    public void setTransportationQualification(String transportationQualification) {
        this.transportationQualification = transportationQualification;
    }

    public String getOtherOfferRequire() {
        return otherOfferRequire;
    }

    public void setOtherOfferRequire(String otherOfferRequire) {
        this.otherOfferRequire = otherOfferRequire;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public CargoPublishEntity.ProjectAddressEntity getProjectAddress() {
        return projectAddress;
    }

    public void setProjectAddress(CargoPublishEntity.ProjectAddressEntity projectAddress) {
        this.projectAddress = projectAddress;
    }

    public String getProjectDesc() {
        return projectDesc;
    }

    public void setProjectDesc(String projectDesc) {
        this.projectDesc = projectDesc;
    }

    public String getTransportationQuire() {
        return transportationQuire;
    }

    public void setTransportationQuire(String transportationQuire) {
        this.transportationQuire = transportationQuire;
    }

    public String getPartyDuty() {
        return partyDuty;
    }

    public void setPartyDuty(String partyDuty) {
        this.partyDuty = partyDuty;
    }

    public String getSecondPartyDuty() {
        return secondPartyDuty;
    }

    public void setSecondPartyDuty(String secondPartyDuty) {
        this.secondPartyDuty = secondPartyDuty;
    }

    public String getRenegePromise() {
        return renegePromise;
    }

    public void setRenegePromise(String renegePromise) {
        this.renegePromise = renegePromise;
    }

    public String getEndContractPromise() {
        return endContractPromise;
    }

    public void setEndContractPromise(String endContractPromise) {
        this.endContractPromise = endContractPromise;
    }

    public List<CargoPublishEntity.ContactInfoEntity> getContactInfo() {
        return contactInfo;
    }

    public void setContactInfo(List<CargoPublishEntity.ContactInfoEntity> contactInfo) {
        this.contactInfo = contactInfo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getSecondGoodsTypeName() {
        return secondGoodsTypeName;
    }

    public void setSecondGoodsTypeName(String secondGoodsTypeName) {
        this.secondGoodsTypeName = secondGoodsTypeName;
    }
}
